<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册</title>
    <link rel="stylesheet" href="./css/base.css">
   
</head>
<body>
    <div class="login-wrapper">
        <div class="title">
            <p>智慧物联创新协会</p>
            <p>创明工作室</p>
            <span>WELCOME!</span>
        </div>
        <div class="input" >
            <div id="alert" ></div>
            <div>
                <img src="./image/email.jpg" alt="" ><span>|</span><input type="text" name="email" id="email" required placeholder="请输入邮箱">
            </div>
            <div><img src="./image/ecode.jpg" alt="" ><span>|</span><input type="text" id="code" required placeholder="请输入验证码"><button class="code" onclick="getCode()">获得验证码</button>
            </div>
            <div ><img src="./image/username.jpg" alt=""><span>|</span><input type="text" id="username" required placeholder="请输入用户名"></div>
            <div ><img src="./image/psw.jpg" alt=""><span>|</span><input type="password" id="password" required placeholder="请输入密码"></div>
            <div>
                <img src="./image/confirmpwd.jpg" alt=""><span>|</span><input type="password" id="confirmpwd" required placeholder="请确认密码">
            </div>
            <span class="register"><a href="./login.html">已有账号?立即登录</a></span>
        </div>
        
        <button class="btn-register" onclick="register()">立即注册</button>
        <ul class="registerimgs">
            <li class="img">
                <img src="./image/cmwx.jpg" alt="">
                <p>创明公众号</p>
            </li>
            <li class="img">
                <img src="./image/cmqq.jpg" alt="">
                <p>创明招新群</p>
            </li>
            <li class="img">
                <img src="./image/cmdy.jpg" alt="">
                <p>创明抖音号</p>
            </li>
        </ul>
</div> 
<script src="../node_modules/axios/dist/axios.min.js"></script>
<script src="js/register.js"></script>
</body>
</html>